package com.ronan.common.constant;

/**
 * FileName    : com.withufuture.common.constant
 * Description :
 *
 * @author : ronan
 * @version : 1.0
 * Create Date : 2021/3/18 11:36
 **/
public interface CommonConstants {
    Integer SUCCESS = 200;
    String SUCCESS_MSG = "OK";
    Integer FAIL = 500;
    String FAIL_MSG = "服务器繁忙，请稍后再试";
    Integer FAIL_PARAM = 3000;
    String FAIL_PARAM_MSG = "参数异常";
    Integer FAIL_PARAM_NULL = 3001;
    String FAIL_PARAM_NULL_MSG = "参数为空";
    Integer FAIL_PARAM_INVALID = 3002;
    String FAIL_PARAM_INVALID_MSG = "参数无效";
    Integer FAIL_PARAM_TYPE_INVALID = 3003;
    String FAIL_PARAM_TYPE_INVALID_MSG = "参数类型有误";
    Integer FAIL_BIZ = 4000;
    Integer FAIL_SIGN = 4001;
    String FAIL_SIGN_MSG = "解密无效，参数有误";
    Integer FAIL_DECODE = 4002;
    String FAIL_DECODE_MSG = "解密无效，参数有误";
    Integer FAIL_ENCRYPT = 4003;
    String FAIL_ENCRYPT_MSG = "加密响应异常，参数有误";
    Integer FAIL_SYS = 5000;
    String FAIL_SYS_MSG = "系统异常，请稍后再试";
    Integer FAIL_RPC = 5001;
    String FAIL_PRC_MSG = "系统升级中，请稍后再试";
    Integer FAIL_UMS = 6000;
    String FAIL_UMS_MSG = "用户异常";
    Integer FAIL_UMS_NOT_LOGIN = 6001;
    String FAIL_UMS_NOT_LOGIN_MSG = "未登录，请重新登录";

}
